Simply_Static\Util D

Total Complexity 166
Dependencies 3
Dependents 43
Total lines 1,003
Lines of code 531
Logical lines of code 326
Comment lines 336
Methods 42
Properties 0

Methods 42

Method Rating Maintainability Complexity Lines of code
is_url_excluded()
B
41 18 53
candidate_urls_for_regex()
B
43 17 39
relative_to_absolute_url()
A
45 15 41
get_static_site_url()
A
49 15 25
get_contents_from_object()
A
49 13 27
parse_patterns()
S
53 7 20
get_file_system()
S
52 6 25
url_path_info()
S
51 5 29
debug_log()
S
52 5 23
add_archive_status_message()
S
57 5 17
abs_path_to_url()
S
55 4 20
create_offline_path()
S
59 4 12
safe_relative_path()
S
60 4 12
is_local_asset_url()
S
55 3 17
is_cron()
S
68 4 7
get_temp_dir()
S
60 3 13
get_all_active_plugins()
S
61 3 11
clear_transients()
S
54 2 24
origin_url()
S
68 2 7
truncate()
S
76 2 3
clear_debug_log()
S
70 2 6
get_debug_log_filename()
S
62 2 10
string_to_array()
S
65 2 9
remove_leading_directory_separator()
S
70 2 6
remove_leading_slash()
S
70 2 6
combine_path()
S
62 2 10
normalize_slashes()
S
77 2 3
origin_scheme()
S
75 1 4
origin_host()
S
79 1 3
error_log()
S
75 1 4
is_valid_scheme()
S
68 1 7
is_local_url()
S
77 1 3
get_path_from_local_url()
S
72 1 5
remove_params_and_fragment()
S
78 1 3
strip_protocol_from_url()
S
75 1 4
strip_index_filenames_from_url()
S
75 1 4
formatted_datetime()
S
80 1 3
add_trailing_directory_separator()
S
78 1 3
remove_trailing_directory_separator()
S
79 1 3
add_leading_slash()
S
79 1 3
safe_join_url()
S
77 1 3
get_temp_dir_url()
S
76 1 4